//
//  UILocalNotification+Alarm.h
//  SDJK
//
//  Created by Jobs on 8/27/16.
//  Copyright © 2016 com.FlintInfo.dEMO. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface UILocalNotification (Alarm)

-(UILocalNotification*)scheduleNotification:(NSDate*)date
                   timeZone:(NSTimeZone*)zone
             repeatCalendar:(NSCalendar*)calendar
             repeatInterval:(NSCalendarUnit)interval
                  soundName:(NSString*)sound
                  alertText:(NSString*)text;

-(void)cancelNotification:(UILocalNotification*)notif;
-(void)cancelNotificationByID:(NSString*)notifID;

@end
